﻿using System.Collections.Generic;
using DevManager.Models;

namespace DevManager.ViewModels.Pages;

public class EnvPathPageModel : PageModelBase
{
    public List<InstalledModel> InstalledModels { get; set; }
    public readonly LanguageModel Language;

    public EnvPathPageModel(LanguageModel model)
    {
        InstalledModels = model.Installed;
        Language = model;
    }
    
    public EnvPathPageModel()
    {
        InstalledModels = new List<InstalledModel>();
        Language = new LanguageModel();
    }
    
    public override string PageName () => "环境管理";
}